package com.the_ring.behavior.state;

/**
 * @author: t22306139
 * @date: 2023/12/1  14:56
 */
public class MainTest {

    public static void main(String[] args) throws InstantiationException, IllegalAccessException {
        StateContext context = new StateContext(StateHandler.initState());
        StateHandler stateHandler = new StateHandler();
        stateHandler.stateA2B(context);
        stateHandler.stateA2B(context);
        stateHandler.stateB2C(context);
        stateHandler.stateC2B(context);
    }
}
